Re: Build system problem in 8.3.x - Mailing list pgsql-hackers

From Bernd Helmle
Subject Re: Build system problem in 8.3.x
Date
Msg-id 9EA03873E8D8EDF7546D255A@[172.26.14.62]
Whole thread Raw
In response to Build system problem in 8.3.x  (Boszormenyi Zoltan <zb@cybertec.at>)
List pgsql-hackers

--On 27. August 2009 11:34:29 +0200 Boszormenyi Zoltan <zb@cybertec.at>
wrote:

> make -C ../../../contrib/spi refint.so autoinc.so
> make[3]: Entering directory
> `/home/zozo/Schönig-számlák/lucent/postgresql-8.3.5/contrib/spi'
> gcc -m32 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
> -Wdeclaration-after-statement
> -Wendif-labels -fno-strict-aliasing -fwrapv -fpic -DREFINT_VERBOSE -I.
> -I../../src/include
> -D_GNU_SOURCE   -c -o refint.o refint.c
> gcc -shared -o refint.so refint.o
> /usr/bin/ld: i386 architecture of input file `refint.o' is incompatible
> with i386:x86-64 output

I had a similar problem some time in the past on a multiarch SuSE on
pSeries (however, it was the other way around, building 64-bit on 32-bit
userspace). I blogged my solution here:

<http://psoos.blogspot.com/2008/05/building-postgresql-on-ibm-pseriessles.html>

--
Thanks
Bernd


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pretty print viewdefs
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #4996: postgres.exe memory consumption keeps going up